package DataAccess;

import DataAccess.*;

/** 
 Data Access Layer Object Collection Of Bank_Log
*/
public class Bank_LogCollection extends DataAccessCollectionBase
{
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#region ����ͻ���
	public Bank_LogCollection()
	{
		super();
	}
	@Override
	protected DataTable BuildTable()
	{
		DataTable dt = new DataTable();
		dt.Columns.Add("Id",Integer.class);
		dt.Columns.Add("Hy_Num",Integer.class);
		dt.Columns.Add("Balance",java.math.BigDecimal.class);
		dt.Columns.Add("bz",String.class);
		dt.Columns.Add("Addtime",java.time.LocalDateTime.class);
		dt.Columns.Add("tx_id",Integer.class);
		dt.Columns.Add("hy_num2",Integer.class);
		dt.Columns.Add("type",String.class);
		dt.Columns.Add("typeid",String.class);
		dt.Columns.Add("hy_name",String.class);
		dt.Columns.Add("zongjin",java.math.BigDecimal.class);
		dt.Columns.Add("tichengbili",String.class);
		return dt;
	}
	@Override
	protected DataAccessBase GetItemByIndex(int index)
	{
		return new Bank_Log(_DataTable.Rows[index]);
	}
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#endregion ����ͻ���
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#region ����
	public final DataTable getTable()
	{
		return super._DataTable;
	}
	public final Bank_Log getItem(int index)
	{
		return new Bank_Log(_DataTable.Rows[index]);
	}
	public final void setItem(int index, Bank_Log value)
	{
		_DataTable.Rows.RemoveAt(index);
		_DataTable.Rows.InsertAt(value.getDataRow(),index);
	}
	public enum Field
	{
		Id,
		Hy_Num,
		Balance,
		bz,
		Addtime,
		tx_id,
		hy_num2,
		type,
		typeid,
		hy_name,
		zongjin,
		tichengbili;

		public int getValue()
		{
			return this.ordinal();
		}

		public static Field forValue(int value)
		{
			return values()[value];
		}
	}
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#endregion ����
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#region ��������
	protected final boolean ListByCondition(String condition)
	{
		String sql = "" + "\r\n" +
"				Select" + "\r\n" +
"					*" + "\r\n" +
"				  From Bank_Log" + "\r\n" +
"				 Where " + condition + "\r\n" +
"			";
		return super.ListBySql(sql);
	}

	public final boolean ListAll()
	{
		String condition = "1=1";
		return ListByCondition(condition);
	}
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#endregion ��������
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#region ���淽��
	//TODO: �����ķ������������
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
		///#endregion ���淽��
}